<template>
  <share-modal
    v-model:visible="shareModalData.visible"
    :text="shareModalData.text"
    :storeUrl="shareModalData.storeUrl"
  />
</template>
<script>
import { toRefs, defineComponent, reactive } from 'vue';
import shareModal from '@/components/share-modal';
export default defineComponent({
  name: '',
  components: {
    shareModal,
  },
  setup() {
    const state = reactive({
      shareModalData: {
        visible: true,
        text: '',
        storeUrl: '',
      },
    });
    return {
      ...toRefs(state),
    };
  },
});
</script>
